package jdom;
import java.util.ArrayList;

public class Software {

	private ArrayList<Library> libraries;
	private ArrayList<Developer> developers;

	/**
	 * 
	 */
	public Software() {
		super();
		this.libraries = new ArrayList<Library>();
		this.developers = new ArrayList<Developer>();
	}

	/**
	 * @param libraries
	 * @param developers
	 */
	public Software(ArrayList<Library> libraries,
			ArrayList<Developer> developers) {
		super();
		this.libraries = libraries;
		this.developers = developers;
	}

	/**
	 * @return the libraries
	 */
	public ArrayList<Library> getLibraries() {
		return libraries;
	}

	/**
	 * @param libraries
	 *            the libraries to set
	 */
	public void setLibraries(ArrayList<Library> libraries) {
		this.libraries = libraries;
	}

	/**
	 * @return the developers
	 */
	public ArrayList<Developer> getDevelopers() {
		return developers;
	}

	/**
	 * @param developers
	 *            the developers to set
	 */
	public void setDevelopers(ArrayList<Developer> developers) {
		this.developers = developers;
	}

	public void addToLibraries(ArrayList<Library> libraries) {
		this.libraries.addAll(libraries);
	}

	public void addToDevelopers(ArrayList<Developer> developers) {
		this.developers.addAll(developers);
	}

}
